<?php global $trns_options, $trns; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
	<title>
		<?php if(is_home() ) { bloginfo('name'); ?> | <?php bloginfo('description'); } ?>
		<?php if(is_single() || is_page() || is_archive() || is_tag() || is_category() ) { wp_title('',true); ?> | <?php bloginfo('name'); } ?>
		<?php if(is_404()) { ?> <?php echo $trns["404"]; ?> | <?php bloginfo('name'); } ?>
		<?php if(is_search()) { ?><?php echo $trns["seresults"]; ?> <?php echo wp_specialchars($s, 1); ?> | <?php bloginfo('name'); } ?>
	</title>
	<style type="text/css" media="screen">@import url( <?php bloginfo('stylesheet_url'); ?> );</style>
	<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/styles/<?php echo $trns_options["style"]; ?>.css" type="text/css" media="screen" />
	<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/lib/youtube.css" type="text/css" media="screen" />
	<!--[if IE 6]>
		<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/includes/DD_belatedPNG_0.0.8a-min.js"></script>
		<script type="text/javascript">DD_belatedPNG.fix('#logo img, #footer_logo img, #slider2 img');</script>
		<style media="screen,projection" type="text/css">#videos li{padding:0 0 0 7px; }</style>
	<![endif]-->	
	
	<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />	
	<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
	<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />	
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />	
	<?php wp_get_archives('type=monthly&format=link'); if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>	
	<?php wp_head(); ?>
</head>

<body>
<?php if($trns_options['enable728'] == 1) { ?>
	<div id="headerAd"><?php include (TEMPLATEPATH . '/Ad728x90Header.php'); ?></div>
<?php } ?>
<div id="wrapper">
	<div id="top_line">&nbsp;</div><!-- /top_line -->

	<div id="header">
		<div id="logo" style="padding:<?php echo $trns_options["logoMarginTop"]; ?>px 0 0 <?php echo $trns_options["logoMarginLeft"]; ?>px;">
		
			<!-- LOGO -->
			<!-- If display Image Logo is activated -->
			<?php if($trns_options['enableLogo'] == 1) { ?>
				<a href="<?php bloginfo('url'); ?>" title="<?php bloginfo(description); ?>">
					<img src="<?php echo $trns_options["logoUrl"]; ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>"/>
				</a>
			<?php } ?>

			<!-- If text is activated to be displayed as logo -->
			<?php if($trns_options['enableLogo'] == 0) { ?>
				<a href="<?php bloginfo('url'); ?>" title="<?php bloginfo(name); ?>">
					<?php echo $trns_options["titleSiteNameFirstRow"]; ?>
					<span><?php echo $trns_options["titleSiteNameSecondRow"]; ?></span>
				</a>
			<?php } ?>
		</div><!-- /logo -->
		<div class="banner">
			<?php include( TEMPLATEPATH . '/Ad468x60Header.php' ); ?>
		</div><!-- /banner -->
	</div><!-- /header -->

	<div id="mainmenu">
		<ul>
			<li class="first<?php if(is_home() ) { ?> current-cat<?php } ?>"><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('description'); ?>"><?php echo $trns["home"]; ?></a></li>
			<?php wp_list_categories('orderby='.$trns_options["orderBy"].'&order='.$trns_options["order"].'&title_li=&exclude='.$trns_options["excludeCategories"]); ?>
		</ul>
	</div><!-- /menu -->

	<div id="submenu">
		<ul>
			<?php wp_list_pages('sort_column=menu_order&title_li=&exclude='.$trns_options["excludePageNav"]); ?>
		</ul>

		<div id="search">
			<?php get_search_form(); ?>
		</div><!-- /search -->
	</div><!-- /submenu -->